package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 产线信息对象 sys_work_line
 * 
 * @author spark
 * @date 2023-07-23
 */
public class SysWorkLine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产线主键 */
    private Long workLineId;

    /** 车间ID */
    @Excel(name = "车间ID")
    private Long roomId;

    /** 工厂ID */
    @Excel(name = "工厂ID")
    private Long factoryId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 产线名称 */
    @Excel(name = "产线名称")
    private String lineName;

    /** 产线位置 */
    @Excel(name = "产线位置")
    private String lineSite;

    /** 产线说明 */
    @Excel(name = "产线说明")
    private String lineDesc;

    /** 产线编号 */
    @Excel(name = "产线编号")
    private String lineCode;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 车间名称 */
    @Excel(name = "车间名称")
    private String roomName;

    @Excel(name = "工厂名称")
    private String factoryName;
    private List<SysClient>   clients;
    public List<SysClient> getClients() {
        return clients;
    }

    public void setClients(List<SysClient> clients) {
        this.clients = clients;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setWorkLineId(Long workLineId)
    {
        this.workLineId = workLineId;
    }

    public Long getWorkLineId() 
    {
        return workLineId;
    }
    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setFactoryId(Long factoryId) 
    {
        this.factoryId = factoryId;
    }

    public Long getFactoryId() 
    {
        return factoryId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setLineName(String lineName) 
    {
        this.lineName = lineName;
    }

    public String getLineName() 
    {
        return lineName;
    }
    public void setLineSite(String lineSite) 
    {
        this.lineSite = lineSite;
    }

    public String getLineSite() 
    {
        return lineSite;
    }
    public void setLineDesc(String lineDesc) 
    {
        this.lineDesc = lineDesc;
    }

    public String getLineDesc() 
    {
        return lineDesc;
    }
    public void setLineCode(String lineCode) 
    {
        this.lineCode = lineCode;
    }

    public String getLineCode() 
    {
        return lineCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workLineId", getWorkLineId())
            .append("roomId", getRoomId())
            .append("factoryId", getFactoryId())
            .append("deptId", getDeptId())
            .append("lineName", getLineName())
            .append("lineSite", getLineSite())
            .append("lineDesc", getLineDesc())
            .append("lineCode", getLineCode())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
